﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Hyunhdai_Saigon_Project
{
    public partial class admin : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["TenDangNhap"] == null || Session["MatKhau"] == null)
            {
                Response.Redirect("login.aspx");
            }
        }
        protected void DangXuat_Click(object sender, EventArgs e)
        {
            Session.RemoveAll();
            Response.Redirect("Default.aspx");
        }
        protected void ThemSp_Click(object sender, EventArgs e)
        {
            Response.Redirect("Them-San-Pham.aspx");
        }
    }
}